<?php
defined('_JEXEC') or die('Restricted access');

interface DAORoute{
	
	public function getRoute($id);
	public function getRouteDesc($id);
	public function getUserCreatedRoutes($user);
	public function getNearestRoutes($location,$circleRadius,$maxDistance);
	public function getNearestRoutesSimilar($location,$circleRadius,$maxDistance,$minDistance);
	public function getRoutesDescByKeywords($keywords,$maxDistance);
	public function getRoutesByDistance($maxDistance);
	public function saveRoute($route);
}

?>